.ui-tab {
  position: relative;

  .clear();

  .form-control {
    background: #4d261c;
    color: #fff;
    border: 1px solid #4d261c;

    &:focus {
      box-shadow: none;
      border-color: lighten(#4d261c, 40%);
    }
  }
}

.ui-tab-tabs {
  width: 100%;
  display: table;
  table-layout: fixed;
}

.ui-tab-tabs-wrap {
  display: table-row;
}

.ui-tab-tabs-item {
  display: table-cell;
  height: 50px;
  text-align: center;
  line-height: 50px;
  color: #7d6549;
  background: #e5e0db;
  position: relative;
  cursor: pointer;

  &._fan:before {
    content: '\8FD4';
    position: absolute;
    display: block;
    top: 5px;
    right: 5px;
    font-size: 14px;
    height: 22px;
    line-height: 22px;
    width: 22px;
    text-align: center;
    background: red;
    border-radius: 3px;
    color: #fff;

    .text-overflow();
  }

  &.active,
  &:hover {
    background: #ff7c00;
    color: #fff;

    &:after {
      content: '';
      position: absolute;
      display: block;
      width: 0;
      height: 0;
      border-right: 8px solid transparent;
      border-left: 8px solid transparent;
      border-top: 8px solid #ff7c00;
      bottom: -8px;
      left: 50%;
      margin-left: -8px;
    }
  }
}

.ui-tab-contents {
  border: 1px solid #54322a;
  padding: 20px;
  background: #1d0f0e;
  color: #e7c16a;

  .clear();
}

.ui-tab-contents-item {
  display: none;

  &.active {
    display: block;
  }
}

.ui-tab-tip {
  font-size: 15px;
  color: red;
  margin: 10px 0;
}

.ui-tip {
  .clear();

}

.ui-tip-title {
  height: 32px;
  line-height: 32px;

  > span {
    display: inline-block;
    background: #903f2e;
    color: #fff;
    padding: 0 10px;
    font-size: 15px;
    font-weight: 700;
  }
}

.ui-tip-content {
  padding: 20px;
  border: 1px solid #903f2e;
  color: #e7c16a;
  line-height: 1.6;

  li {
    margin-top: 10px;

    &:first-child {
      margin-top: 0;
    }
  }

  em {
    color: red;
    font-style: normal;
    font-weight: 700;
  }
}